package com.digitalchina.lxnsy.activity.old;

import android.webkit.JavascriptInterface;

import com.digitalchina.lxnsy.base.BaseHtmlActivity;

/**
 * ================================================
 * 项目名称：android
 * 类描述：交易记录
 * 创建人：yzm
 * 创建时间：2019/8/15 17:26
 * 修改备注：
 * ================================================
 */
public class TradeRecordListActivity extends BaseHtmlActivity {

    @Override
    protected void loadHtml() {
        webView.addJavascriptObject(new JsApi(), null);
        loadUrl("traderecord-list");
        setTitle("交易记录");
    }

    @Override
    public void rightOnClick() {

    }

    public class JsApi {

        // 跳转详情监听事件
        @JavascriptInterface
        public void details(Object msg) {
            go(TradeRecordDetailActivity.class, "msg", msg.toString());
        }

    }
}
